<template>
  <div style="padding: 0 6px">
    <el-row :gutter="gutter">
      <el-col
        v-for="(item, index) in list"
        :key="index"
        :span="item.span || 12"
        :style="item.itemStyle"
      >
        <span>{{ item.label }}：</span>
        <span :style="item.style">{{ item.value }}</span>
      </el-col>
    </el-row>
  </div>
</template>

<script>
export default {
  name: 'BaseInfo',
  props: {
    gutter: {
      type: Number,
      default: 12
    },
    list: {
      type: Array,
      default: () => []
    }
  }
}
</script>

<style lang="scss" scoped></style>
